{% extends "base.html" %}
{%block title %} 图片采集 {% endblock %}
{%block init_menu %}pick{% endblock %}
{%block content_title %}采集设置 {% endblock %}
{% block content %}
<script type="text/javascript" src="/static/jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="/static/pick.js"></script>
{% if rule_base %}
<form name="pick_form" method="post" action="/a/pick/start/{{key_name}}/">
<div class="pick_base">
    <ul>
        <li class="ptitle"><div>手动采集设置 ></div></li>
        <li><div>名称:</div><div>{{rule_base.name}}</div></li>
        <li><div>采集主域名:</div><div>{{rule_base.base_url}}</div></li>
	<li><div>采集图集:</div><div>{%if album_flag %}{%if album_flag == "%int%" %}开始:<input type="text" value="" name="ab_start" size="3"> 结束:<input type="text" value="" name="ab_end" size="3"> 步长:<input type="text" value="1" name="ab_setp" size="1"><input type="hidden" name="ablum_method" value="int">{%endif%}{%if album_flag == "%list%" %}<input type="hidden" name="ablum_method" value="list"><input type="text" value="" name="ab_list[]" size="3"><label class='btn'>添加列表</label>{%endif%}{%else%}{{rule_base.ablum}}{%endif%}</div></li>
	<li><div>采集分页:</div><div>{%if page_flag%}{%if page_flag == "%int%" %}开始:<input type="text" value="" name="page_start" size="3"> 结束:<input type="text" value="" name="page_end" size="3"> 步长:<input type="text" value="1" name="page_setp" size="1">{%else%}规则设置不正确，请重新设置。{%endif%}{%else%}{%for url in base.page_url%}{{url}}<br/>{%endfor%}{%endif%}</div></li>
    </ul>
</div>
<div class="pick_botton"><input type="submit" value="开始采集"></div>
</form>
{%else%}
没有这条采集规则。
{%endif%}
{% endblock %}
